import request from '@/utils/request'

export function update(params) {
    return request({
        url: '/user/edit/profile',
        method: 'POST',
        data: params
    }).then(data => data)
}
export function getDetail(params) {
    return request({
        url: '/user/detail',
        method: 'POST',
        data: params
    }).then(data => data)
}
export function bindPhone(params) {
    return request({
        url: '/user/bindPhone',
        method: 'POST',
        data: params
    }).then(data => data)
}
export function checkInfo(params) {
    return request({
        url: '/user/checkInfo',
        method: 'POST',
        data: params
    }).then(data => data)
}

export function finance(params) {
    return request({
        url: '/user/finance',
        method: 'POST',
        data: params
    }).then(data => data)
}